package com.mdd.front.validate.yangyangLeadingEnterprise;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 用户活动报名参数
 * @author LikeAdmin
 */
@Data
@ApiModel("用户活动报名更新参数")
public class TAppUserActivityRegistrationUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "activityId参数缺失")
    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "用户名称")
    private String name;

    @NotNull(message = "pic参数缺失")
    @ApiModelProperty(value = "用户头像")
    private String pic;

}
